package org.br.erp.base.vo;

import lombok.Data;
import org.br.erp.base.entityvo.ScmobjectIdModel;

import java.util.ArrayList;
import java.util.List;

@Data
public class ProjectTypeIdModel {
    private String key;
    private String value;
    private String title;
    List<ProjectTypeIdModel> child=new ArrayList<>();

    public ProjectTypeIdModel convert(ProjectTypeVo record) {

        this.key= record.getKey();
        this.title= record.getTitle();
        this.value=record.getValue();
        return this;
    }

}
